﻿using Common.Result;
using Model.Dto.Dish;
using Model.Dto.Setmeal;
using Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
    public interface ISetmealService
    {
        Task<bool> SaveWithDishAsync(SetmealAdd setmealAdd, long id);

        Task<PageInfo> GetPageInfoAsync(int page, int pageSize, string? name);

        Task<SetmealRes> GetSetmealDtoByTdAsync(long id);
        Task<List<SetmealRes>> GetsetmealsAsync(SetmealQuery setmealQuery);
        Task<bool> DeleteSetmealByIdsAsync(List<long> ids);
        Task<bool> EditStatusByIdsAsync(List<long> ids, int status, long userId);
        Task<bool> EdiSetmealByIdAsync(SetmealEdit setmealEdit, long id);
    }
}
